package com.jdzy.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdzy.model.student.pojos.CopyrightOwner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CopyrightOwnerMapper extends BaseMapper<CopyrightOwner> {

    List<String> getCopyrightOwnerName(@Param("copyrightId") Long copyrightId);

    List<Long> getCopyrightIdListByOwnerName(@Param("stuId") String stuId
            ,@Param("copyrightOwnerNames") List<String> copyrightOwnerNames);

}
